package com.baidu;

public class Test {
    public static void main(String[] args) {
        Student student1 = new Student("小米", 10);
        student1.staticFunc();
        Student.staticFunc();
    }




    public static void main1(String[] args) {
        Student student1 = new Student("小明", 20);
        Student student2 = new Student("小李", 20);

        Student.classroom = "203";//访问静态变量是通过类名访问的
    }
}
